package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.GestbookDao;
import com.bootdo.system.domain.GestbookDO;
import com.bootdo.system.service.GestbookService;



@Service
public class GestbookServiceImpl implements GestbookService {
	@Autowired
	private GestbookDao gestbookDao;
	
	@Override
	public GestbookDO get(Long id){
		return gestbookDao.get(id);
	}
	
	@Override
	public List<GestbookDO> list(Map<String, Object> map){
		return gestbookDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return gestbookDao.count(map);
	}
	
	@Override
	public int save(GestbookDO gestbook){
		return gestbookDao.save(gestbook);
	}
	
	@Override
	public int update(GestbookDO gestbook){
		return gestbookDao.update(gestbook);
	}
	
	@Override
	public int remove(Long id){
		return gestbookDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return gestbookDao.batchRemove(ids);
	}
	
}
